<template>
  <div class="goods-list banxin flex">
    <GoodsListItem v-for="(item,index) in arr" :key="index" :data="item"></GoodsListItem>
  </div>
</template>
 
<script>
import GoodsListItem from "./GoodsListItem.vue";

export default {
  props: ["arr"],
  data() {
    return {};
  },
  components: {
    GoodsListItem
  },
 
};
</script>
 
<style lang = "less" scoped>
.goods-list{
    flex-wrap: wrap;
    
}
</style>